<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/common-taglib.jsp"%>

<header class="am-topbar admin-header">
	<!-- 导航 -->
	<div class="am-topbar-brand">
		<strong>教学材料管理系统</strong> <small>后台管理</small>
	</div>

	<!-- 用户中心入口 -->
	<div class="am-collapse am-topbar-collapse" id="topbar-collapse">
		<ul
			class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
			<c:choose>
				<c:when test="${SESSION_USER.account!=null}">
					<li><a href="my.action"><span class="am-icon-user"></span>
							&nbsp;${SESSION_USER.account}&nbsp;</a></li>
					<li><a href="logout.action"><span
							class="am-icon-power-off"></span>&nbsp;退出</a></li>
				</c:when>
				<c:otherwise>
					<li><a href="login.action"><span class="am-icon-user"></span>&nbsp;登录
					</a></li>
				</c:otherwise>
			</c:choose>
			<li><a href="javascript:void(0)" id="admin-fullscreen"><span
					class="am-icon-arrows-alt"></span> <span class="admin-fullText">开启全屏</span></a></li>
		</ul>
	</div>
</header>
